import pandas as pd
pd.set_option('display.unicode.east_asian_width',True)
df=pd.DataFrame([['A','C','B'],['B','A','C'],['A','B','C'],['A','B','C']],columns=['a','b','c'])
print(df)
print(df.value_counts('a'))
print(df.value_counts('b',normalize=True,ascending=True))
print(df.value_counts())
print(df.describe())